<div class="page-header">
    <h1 class="page-title">用户管理</h1>
    <ul class="breadcrumb">
        <li><a href="#">首页</a></li>
        <li><a href="#">用户管理</a></li>
        <li>用户列表</li>
    </ul>
</div>

<div class="card">
    <div class="card-header">
        <h3 class="card-title">用户列表</h3>
        <div>
            <button style="background-color: var(--primary-color); color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; margin-right: 10px;">
                <i class="bi bi-plus"></i> 添加用户
            </button>
            <input type="text" placeholder="搜索用户..." style="padding: 5px 10px; border-radius: 4px; border: 1px solid #ddd;">
        </div>
    </div>
    <div class="card-body">
        <div class="table-responsive">
            <table class="table">
                <thead>
                    <tr>
                        <th>ID</th>
                        <th>用户名</th>
                        <th>角色</th>
                        <th>注册时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>1001</td>
                        <td>张三</td>
                        <td>管理员</td>
                        <td>2023-01-15</td>
                        <td><span class="badge badge-success">启用</span></td>
                        <td>
                            <a href="#" style="color: var(--primary-color); margin-right: 10px;"><i class="bi bi-pencil"></i></a>
                            <a href="#" style="color: var(--accent-color);"><i class="bi bi-trash"></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td>1002</td>
                        <td>李四</td>
                        <td>编辑</td>
                        <td>2023-02-20</td>
                        <td><span class="badge badge-success">启用</span></td>
                        <td>
                            <a href="#" style="color: var(--primary-color); margin-right: 10px;"><i class="bi bi-pencil"></i></a>
                            <a href="#" style="color: var(--accent-color);"><i class="bi bi-trash"></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td>1003</td>
                        <td>王五</td>
                        <td>客服</td>
                        <td>2023-03-10</td>
                        <td><span class="badge badge-warning">禁用</span></td>
                        <td>
                            <a href="#" style="color: var(--primary-color); margin-right: 10px;"><i class="bi bi-pencil"></i></a>
                            <a href="#" style="color: var(--accent-color);"><i class="bi bi-trash"></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td>1004</td>
                        <td>赵六</td>
                        <td>销售</td>
                        <td>2023-04-05</td>
                        <td><span class="badge badge-success">启用</span></td>
                        <td>
                            <a href="#" style="color: var(--primary-color); margin-right: 10px;"><i class="bi bi-pencil"></i></a>
                            <a href="#" style="color: var(--accent-color);"><i class="bi bi-trash"></i></a>
                        </td>
                    </tr>
                    <tr>
                        <td>1005</td>
                        <td>钱七</td>
                        <td>客户</td>
                        <td>2023-05-12</td>
                        <td><span class="badge badge-success">启用</span></td>
                        <td>
                            <a href="#" style="color: var(--primary-color); margin-right: 10px;"><i class="bi bi-pencil"></i></a>
                            <a href="#" style="color: var(--accent-color);"><i class="bi bi-trash"></i></a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

<style>
    /* 这里放置users.html特有的样式 */
    .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .page-title {
        font-size: 24px;
        font-weight: 600;
        color: var(--secondary-color);
    }
    
    .breadcrumb {
        display: flex;
        list-style: none;
        color: #95a5a6;
    }
    
    .breadcrumb li {
        margin-right: 10px;
    }
    
    .breadcrumb li:after {
        content: '/';
        margin-left: 10px;
    }
    
    .breadcrumb li:last-child:after {
        content: '';
    }
    
    .breadcrumb a {
        color: #95a5a6;
        text-decoration: none;
    }
    
    .breadcrumb a:hover {
        color: var(--primary-color);
    }
    
    /* 卡片样式 */
    .card {
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        margin-bottom: 20px;
        overflow: hidden;
    }
    
    .card-header {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .card-title {
        font-size: 16px;
        font-weight: 600;
        color: var(--secondary-color);
    }
    
    .card-body {
        padding: 20px;
    }
    
    /* 表格样式 */
    .table-responsive {
        overflow-x: auto;
    }
    
    .table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .table th, .table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .table th {
        background-color: #f8f9fa;
        color: var(--secondary-color);
        font-weight: 600;
    }
    
    .table tr:hover {
        background-color: #f8f9fa;
    }
    
    .badge {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
    }
    
    .badge-success {
        background-color: #d4edda;
        color: #155724;
    }
    
    .badge-warning {
        background-color: #fff3cd;
        color: #856404;
    }
</style>